<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="javascript:void(0)">{$data.name}-
            <if condition="$data['verify'] eq 0">
                <span class="label label-danger">未审核</span>
                <elseif condition="$data['verify'] eq 1"/>
                <span class="label label-success">审核通过</span>
                <elseif condition="$data['verify'] eq 2"/>
                <span class="label label-danger">审核失败</span>
                <elseif condition="$data['verify'] eq 3"/>
                <span class="label label-danger">下架</span>
            </if>
        </a></li>
    </ul>

    <table class="table table-hover table-bordered">
        <tr>
            <td colspan="10"><b>基础信息</b></td>
        </tr>
        <tr>
            <td>ID</td> <td>{$data.id}</td>
            <td>名称</td> <td>{$data.name}</td>
            <td>历史名称</td> <td>{$data.history_name}</td>
            <td>信用代码</td><td>{$data.code}</td>
            <td>经营范围</td><td>{$data.business_nature}</td>
        </tr>
        <tr>
            <td>省份</td> <td>{$data.province}</td>
            <td>城市</td> <td>{$data.city}</td>
            <td>地址</td> <td>{$data.address}</td>
            <td>地区代码</td><td>{$data.region_code}</td>
            <td>公司类型</td><td>{$data.type_val}</td>
        </tr>
        <tr>
            <td>企业状态</td> <td>{$data.status}</td>
            <td>是否逾期申报</td> <td><if condition="$data.is_exceed eq '1'">是 <else /> 否 </if></td>
            <td>账本是否齐全</td> <td><if condition="$data.account_book eq '1'">是 <else /> 否 </if></td>
            <td>是否存在法律诉讼</td><td><if condition="$data.is_low eq '1'">是 <else /> 否 </if></td>
        </tr>
        <tr>
            <td colspan="10"><b>注册信息</b></td>
        </tr>
        <tr>
            <td>企业编号</td><td>{$data.enterprise_no}</td>
            <td>企业注册号</td> <td>{$data.regist_no}</td>
            <td>核准日期</td> <td>{$data.approval_time}</td>
            <td>开始营业日期</td> <td>{$data.business_time}</td>
            <td>注册资本</td><td>{$data.regist_capital}</td>
        </tr>
        <tr>
            <td>成立日期</td><td>{$data.found_time}</td>
            <td>所属工商局</td> <td>{$data.administration}</td>
        </tr>
        <tr>
            <td colspan="10"><b>商售信息</b></td>
        </tr>
        <tr>
            <td>售价(元)</td> <td>{$data.sale}</td>
            <td>卖家姓名</td> <td>{$data.sale_name}</td>
            <td>卖家电话</td><td>{$data.sale_tel}</td>
            <td>转让方式</td><td>{$data.sale_type_val}</td>
            <td>证书是否授权他人使用</td> <td><if condition="$data.is_other eq '1'">是 <else /> 否 </if></td>
        </tr>
        <tr>
            <td>证书是否异常</td> <td><if condition="$data.is_certificate eq '1'">是 <else /> 否 </if></td>
            <td>资质分类序列</td> <td>{$data.class_order}</td>
            <td>资质专业</td><td>{$data.profession}</td>
            <td>资质等级</td><td>{$data.zz_class}</td>
            <td>有效期限</td> <td>{$data.limit_time}</td>
        </tr>
        <tr>
            <td>安全生产许可证</td> <td><if condition="$data.license eq '1'">是 <else /> 否 </if></td>
        </tr>
        <tr>
            <td colspan="10"><b>上传人员信息</b></td>
        </tr>
        <tr>
            <td>上传人员</td> <td>{$data.nickname}</td>
            <td>上传人员电话</td> <td>{$data.customer_tel}</td>
            <td>录入时间</td><td>{$data.create_time}</td>

        </tr>
        <tr>
            <td colspan="10"><b>审核情况</b></td>
        </tr>
        <tr>
            <td>审核情况</td> <td><if condition="$data['verify'] eq 0">
            <span class="label label-danger">未审核</span>
            <elseif condition="$data['verify'] eq 1"/>
            <span class="label label-success">审核通过</span>
            <elseif condition="$data['verify'] eq 2"/>
            <span class="label label-danger">审核失败</span>
            <elseif condition="$data['verify'] eq 3"/>
            <span class="label label-danger">下架</span>
        </if></td>
           <!-- <td>更新时间</td><td>{$data.update_time}</td>-->
        </tr>
    </table>
    <if condition="$data['verify'] eq 0 ">
        <a class="btn btn-xs js-ajax-dialog-btn label label-success" href="{:url('task/qualificationVerify',array('id'=>$data['id'],'val'=>1))}">通过</a>
        <a class="btn btn-xs js-ajax-dialog-btn label label-success" href="{:url('task/qualificationVerify',array('id'=>$data['id'],'val'=>2))}">不通过</a>
        <elseif condition="$data['verify'] eq  2" />
        <a class="btn btn-xs js-ajax-dialog-btn label label-success" href="{:url('task/qualificationVerify',array('id'=>$data['id'],'val'=>1))}">通过</a>
    </if>
    <if condition="$data['verify'] eq 3">
        <a class="btn btn-xs js-ajax-dialog-btn label label-success" href="{:url('task/qualificationVerify',array('id'=>$data['id'],'val'=>1))}">上架</a>
        <else />
        <a class="btn btn-xs js-ajax-dialog-btn label label-success" href="{:url('task/qualificationVerify',array('id'=>$data['id'],'val'=>3))}">下架</a>
    </if>

</div>
<script src="__STATIC__/js/admin.js"></script>
<script src="__STATIC__/js/NZ-Window.min.js"></script>
<script src="__STATIC__/js/NZ-Drag.min.js"></script>
<script>
    $(function () {
        var id = $(this).attr('data')
        $(".test").click(function () {
            $.NZ_Window.show({
                url: "{:url('task/qualificationDetail')}"+"?id="+id,
                width: 1024,
                height: 800,
                title: "这是一个窗口"
            });
        });
    })
</script>
</body>
</html>